package com.aricksm.xuan.activaty02;

import com.aricksm.xuan.activaty02.HttpModel.CoffeeShop;

import java.util.List;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.PUT;
import retrofit2.http.Path;

/**
 * Created by robinyang on 15/8/3.
 */
public interface LoopBackService {

    //http://localhost:5000

    @GET("test1/{id}")
    Call<ResponseBody> getFirstBlog(@Path("id") int id);

    //@GET("users/{user}/repos")
    //Call<List<Repo>> listRepos(@Path("user") String user);


}
